#ifndef _AMERICO_TRIANGLE_H_
#define _AMERICO_TRIANGLE_H_

#include "../Vector3.h"
#include "../Intersection.h"
#include "../staticarray.h"

class Triangle : public Intersection::Triangle
{
public:
	Triangle();
	Triangle(const Vector3<float> &aPoint1,const Vector3<float> &aPoint2,const Vector3<float> &aPoint3);
	Triangle(const Utils::StaticArray<Vector3<float>, 3> &somePoints);
	~Triangle();

	Triangle &Init(const Vector3<float> &aPoint1,const Vector3<float> &aPoint2,const Vector3<float> &aPoint3);
	Triangle &Init(const Utils::StaticArray<Vector3<float>, 3> &somePoints);

	Triangle &operator=(const Triangle &aTriangle);
	Triangle &operator=(const Intersection::Triangle &aTriangle);
};
#endif